package designPattern.struction.decoratorpattern;

/**
 * 定义装饰者
 * @author 张琪
 * @date 2023/2/1 16:09
 */
public class Decorator implements Human{

    private Human human;

    public Decorator(Human human) {
        this.human = human;
    }

    @Override
    public void wearClothes() {
        human.wearClothes();
    }
}
